package com.ktjy.ktmall.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
        import com.ktjy.common.utils.DateUtils;
import com.ktjy.ktmall.domain.SkuInfo;
import com.ktjy.ktmall.mapper.SkuInfoMapper;
import com.ktjy.ktmall.service.ISkuInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 商品SKU管理Service业务层处理
 *
 * @author ktjy
 * @date 2025-03-19
 */
@Service
public class SkuInfoServiceImpl extends ServiceImpl<SkuInfoMapper, SkuInfo>
        implements ISkuInfoService {
    @Autowired
    private SkuInfoMapper skuInfoMapper;

    /**
     * 查询商品SKU管理列表
     *
     * @param skuInfo 商品SKU管理
     * @return 商品SKU管理
     */
    @Override
    public List<SkuInfo> selectSkuInfoList(SkuInfo skuInfo)
    {
        return skuInfoMapper.selectSkuInfoList(skuInfo);
    }

    @Override
    public SkuInfo getSelectId(Long id) {
        return skuInfoMapper.getSelectId(id);
    }

    @Override
    public List<SkuInfo> selectGoodsList() {
        return skuInfoMapper.selectGoodsList();
    }
}